package com.jn.retrofit.entity;

import java.util.List;

public class FoodEntity {

   private String code;
   private String msg;
   private String food;
   private String count;
   private List<DataItem> data;

   public String getCode() {
      return code;
   }

   public void setCode(String code) {
      this.code = code;
   }

   public String getMsg() {
      return msg;
   }

   public void setMsg(String msg) {
      this.msg = msg;
   }

   public String getFood() {
      return food;
   }

   public void setFood(String food) {
      this.food = food;
   }

   public String getCount() {
      return count;
   }

   public void setCount(String count) {
      this.count = count;
   }

   public List<DataItem> getData() {
      return data;
   }

   public void setData(List<DataItem> data) {
      this.data = data;
   }

   public static class DataItem {
      private String food;
      private String calories;

      public String getFood() {
         return food;
      }

      public void setFood(String food) {
         this.food = food;
      }

      public String getCalories() {
         return calories;
      }

      public void setCalories(String calories) {
         this.calories = calories;
      }
   }
}
